<!DOCTYPE html>
<html>
  <head>
    <title>楼盘详情</title>
    <meta charset="utf-8">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">


    <link rel="stylesheet" href="__STATIC__/mobile/css/weui.min.css">
	<link rel="stylesheet" href="__STATIC__/mobile/css/jquery-weui.css">
    <link rel="stylesheet" href="__STATIC__/mobile/css/demos.css">
    <link rel="stylesheet" href="__STATIC__/mobile/css/main.css">
    <link rel="stylesheet" href="__STATIC__/mobile/css/iconfont.css">
    <script src="__STATIC__/mobile/js/jquery-2.1.4.js"></script>
    <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=DA6Bw0637vf4t96C4GRhyPBMyplqG6zA"></script>
    <style>
    	.navbar {
		    height: 50px;
		    color: #000;
		    background: #ffd966;
		    position: fixed;
		    top: 0;
		    left: 0;
		    right: 0;
		    z-index: 99;
		    display: -webkit-box;
		    display: -ms-flexbox;
		    overflow: hidden;
		}
		.navbar .nav-wrap-left {
		    height: 100%;
		    width: 25%;
		    line-height: 50px;
		}
		.navbar .nav-wrap-left .nav-btn {
		    padding-right: 0;
		}
		.navbar .nav-btn {
		    padding: 0 0 0 10%;
		   	width: 90%;
		   	height: 100%;
		    display: block;
		    color: #000;
		    font-size: 14px;
		}
		a:active, a:focus, a:hover, a:visited {
		    color: #bbb;
		}
		a, a:hover, del, ins, s, u {
		    text-decoration: none;
		}
		.barbtn, a, button, em, input, textarea {
		    -webkit-tap-highlight-color: rgba(255,0,0,0);
		}
		a {
		    color: #666;
		    text-decoration: none;
		    outline: 0;
		}
		.navbar .nav-title {
			width: 50%;
		    height: 100%;
		    overflow: hidden;
		    line-height: 50px;
		    text-align: center;
		    -webkit-box-flex: 1;
		    -ms-flex: 1;
		}
		.navbar .nav-wrap-right {
		    height: 100%;
		    width: 25%;
		    line-height: 50px;
		    text-align: right;
		}
		.filterbar .dropdown-toggle.active {
		    color: #179b16;
		}
		.icon-xuanzechengshi {
			font-size: 8px!important;
		}
		#joblist .list-item .salary span, #loadMore .list-item .salary span, #recommend-job .list-item .salary span {
		    color: #179b16;
		    font-size: .42rem;
		}
		.pic {
			width: 55px!important;
		}
		.pic img{
			width: 55px!important;
			height: 55px;
		}
		.filterbar .dropdown-wrapper {
		    position: absolute;
		    width: 100%;
		    z-index: inherit;
		}
		.filterbar .nav {
		    position: relative;
    		z-index: inherit;
		}
		.block {
			display: block;
		}
		.none {
			display: none;
		}
		.filterbar .nav {
		    display: -webkit-box;
		    display: -ms-flexbox;
		    background: #fff;
		    border-bottom: 1px solid #e5e5e5;
		    text-align: center;
		    height: .86rem;
		    line-height: .86rem;
		    -webkit-user-select: none;
		    font-size: 13px;
		    text-align: center;
		}
		.main {
			/*padding: 0!important;*/
			padding-top: 50px; 
			z-index: 9999999;
		}
		.filterbar .category-wrapper {
		    overflow: scroll;
		}
		.category-wrapper {
			max-height: 480px!important;
		}
		.  .top-logo img{
      border-radius: 50%;
    }
    /*.weui-uploader__file {
        width: 40%;
        height: 79px;
    }*/
    .top-logo {
        width: 100%;
        height: 8em;
        margin-top: 1em;
        overflow: hidden;
    }
    .top-logo img {
        width: 6em;
        height: 6em;
        margin: 1em auto;
        display: block;
    }
    .weui-cell2:after {
        content: " ";
        position: absolute;
        left: 0;
        right: 0;
        height: 1px;
        color: #d9d9d9;
        bottom: 0;
        border-bottom: 1px solid #d9d9d9;
        -webkit-transform-origin: 0 100%;
        transform-origin: 0 100%;
        -webkit-transform: scaleY(.5);
        transform: scaleY(.5);
    }
	.dis{
	    -webkit-text-fill-color:black; -webkit-opacity:1; opacity: 1;
	}
    /*.weui-uploader__file {
          float: left;
          background: no-repeat 50%;
          background-size: cover;
          display: inline-block;
          margin: 0px 5%;
          background-size: 100% 100%;
      }*/
    .weui-cells {
	    margin-top: 0.2em;
	}
    </style>
        <script>
            function checkedVal(hidVal,name){
                var str = $(hidVal).val();
                var arr = str.split(',');
                var val = $(name)

                for(var i=0;i<val.length;i++){
                    arr.forEach(function(j){
                        if($(val[i]).attr('value')== j){
                             $(val[i]).attr('checked','checked');
                        }                            
                    })
                }
            }
        </script>
  </head>

  <body ontouchstart style="background: #fff">
  	
    <div class="navbar">
        <div class="nav-wrap-left">
            <a class="nav-btn" href="javascript:" onclick="self.location=document.referrer;">
                <i style="font-size: 22px" class="iconfont icon-goback"></i>
            </a>
        </div>
		<div class="nav-title">楼盘详情</div>
		<div class="nav-wrap-right">
		    <!-- <a class="nav-btn" href="javascript:exit();">
		        <i style="font-size: 18px;margin-right: 10%;" class="iconfont  loginType" data-type=""></i>
		        +新增
		    </a> -->
		</div>
    </div>
    <!-- 正文 -->
    <div class="main">
    
    	<!-- <div class="weui-cells weui-cells_form">
		    <div class="weui-cell">
		        <div class="weui-cell__hd"><label class="weui-label">楼盘名称</label></div>
		        <div class="weui-cell__bd">
		            <input  disabled class="weui-input dis" type="text" value="{$info.name}">
		        </div>
		    </div>
		    <div class="weui-cell">
		        <div class="weui-cell__hd"><label class="weui-label">楼盘基础评分</label></div>
		        <div class="weui-cell__bd">
		            <input  disabled class="weui-input dis" type="text" value="{$info.score}">
		        </div>
		    </div>
		    
		    <div class="weui-cell">
		        <div class="weui-cell__hd"><label class="weui-label">楼盘总评分</label></div>
		        <div class="weui-cell__bd">
		            <input  disabled class="weui-input dis" type="text" disabled="disabled" value="{$finish_point}">
		        </div>
		    </div>
	  	</div> -->

	  	<div class="weui-cells weui-cells_form">
	  		<div style="text-align: center;padding: 5px 0;background: #ffd966;color: #000;font-family: "黑体";">主体信息</div>
	  		<div class="weui-cell">
	  		    <div class="weui-cell__hd"><label class="weui-label">楼盘名称</label></div>
	  		    <div class="weui-cell__bd">
	  		        <input  disabled class="weui-input dis" type="text" value="{$info.name}">
	  		    </div>
	  		</div>
		    <div class="weui-cell">
		        <div class="weui-cell__hd"><label class="weui-label">能否做活动</label></div>
		        <div class="weui-cell__bd">
		            <input  disabled class="weui-input dis" type="text" value="<?php echo $info['activity']=2?'否':'是';?>">
		        </div>
		    </div>
		    <div class="weui-cell">
		        <div class="weui-cell__hd"><label class="weui-label">楼盘基础评分</label></div>
		        <div class="weui-cell__bd">
		            <input  disabled class="weui-input dis" type="text" value="{$info.score}">
		        </div>
		    </div>
		    <div class="weui-cell">
		        <div class="weui-cell__hd"><label class="weui-label">楼盘总评分</label></div>
		        <div class="weui-cell__bd">
		            <input  disabled class="weui-input dis" type="text" disabled="disabled" value="{$finish_point}">
		        </div>
		    </div>
		    <div class="weui-cell">
		        <div class="weui-cell__hd"><label class="weui-label">单场价格</label></div>
		        <div class="weui-cell__bd">
		            <input  disabled class="weui-input dis" type="text" value="{$info.price}">
		        </div>
					<div class="weui-cell__ft">
					  <div class="weui-vcode-btn">元</div>
					</div>
		    </div>
		    <div class="weui-cell">
		        <div class="weui-cell__hd"><label class="weui-label">银行卡账号</label></div>
		        <div class="weui-cell__bd">
		            <input disabled name="bank_num" class="weui-input" type="text" placeholder="请输入银行卡账号" value="{$info.bank_num}">
		        </div>
		    </div>
		    <div class="weui-cell">
		        <div class="weui-cell__hd"><label class="weui-label">支付宝账号</label></div>
		        <div class="weui-cell__bd">
		            <input disabled name="alipay" class="weui-input" type="text" placeholder="请输入支付宝账号" value="{$info.alipay}">
		        </div>
		    </div>
		    <div class="weui-cell">
		        <div class="weui-cell__hd"><label class="weui-label">微信账号</label></div>
		        <div class="weui-cell__bd">
		            <input disabled name="wx_num" class="weui-input" type="text" placeholder="请输入微信账号" value="{$info.wx_num}">
		        </div>
		    </div>
		    <div class="weui-cell">
		        <div class="weui-cell__hd"><label class="weui-label">收费凭证</label></div>
		        <div class="weui-cell__bd">
		            <input  disabled class="weui-input dis" type="text" value="{$info.shoufeipingzheng}">

		        </div>
		    </div>
		    <div class="weui-cell">
		        <div class="weui-cell__hd"><label class="weui-label">缴费备注</label></div>
		        <div class="weui-cell__bd">
		            <input  disabled class="weui-input dis" type="text" value="{$info.jiaofeibeizhu}">
		        </div>
		    </div>
			<div class="weui-cell">
			    <div class="weui-cell__hd"><label class="weui-label">物业名称</label></div>
			    <div class="weui-cell__bd">
			        <input disabled class="weui-input dis" type="text" value="{$info.wuye}">
			    </div>
			</div>
			<div class="weui-cell">
			    <div class="weui-cell__hd"><label class="weui-label">联系人</label></div>
			    <div class="weui-cell__bd">
			        <input  disabled class="weui-input dis" type="text" value="{$info.wuyename}">
			    </div>
			</div>
			<div class="weui-cell">
			    <div class="weui-cell__hd"><label class="weui-label">职务</label></div>
			    <div class="weui-cell__bd">
			        <input disabled class="weui-input dis" type="text" value="{$info.job}">
			    </div>
			</div>
			<div class="weui-cell">
			    <div class="weui-cell__hd"><label class="weui-label">手机号</label></div>
			    <div class="weui-cell__bd">
			        <input  disabled class="weui-input dis" type="tel" value="{$info.mobile}">
			    </div>
			</div>
			<div class="weui-cell">
			    <div class="weui-cell__hd"><label class="weui-label">固定电话</label></div>
			    <div class="weui-cell__bd">
			        <input  disabled class="weui-input dis" type="tel" value="{$info.tel}">
			    </div>
			</div>


		    
		    <!-- <div class="weui-cell">
		        <div class="weui-cell__hd"><label class="weui-label">场地数量</label></div>
		        <div class="weui-cell__bd">
		            <input disabled class="weui-input dis" type="text" value="{$info.changdinum}">
		        </div>
		    </div> -->
		    
	
		    
	  	</div>

	  	<div class="weui-cells">
	  		<div style="text-align: center;padding: 5px 0;background: #ffd966;color: #000;font-family: "黑体";">楼盘信息</div>
	  		<div class="weui-cell">
	  		    <div class="weui-cell__hd"><label class="weui-label">物业费</label></div>
	  		    <div class="weui-cell__bd">
	  		        <input id="building_rent" disabled class="weui-input dis" type="text" value="{$info.wuyefee}">
	  		    </div>
				 <div class="weui-cell__ft">元/平方/月</div>
	  		</div>
	  		<div class="weui-cell">
	  		    <div class="weui-cell__hd"><label class="weui-label">入住率</label></div>
	  		    <div class="weui-cell__bd">
	  		        <input id="building_rate" disabled class="weui-input dis" type="text" value="{$info.ruzhulv}">
	  		    </div>
	  		</div>
	  		<div class="weui-cell">
	  		    <div class="weui-cell__hd"><label class="weui-label">选择城市</label></div>
	  		    <div class="weui-cell__bd">
	  		        <input  disabled class="weui-input dis" type="text" value="{$info.province}{$info.city}{$info.district}">
	  		    </div>
	  		</div>
	  		<div class="weui-cell">
	  		    <div class="weui-cell__hd"><label class="weui-label">地址</label></div>
	  		    <div class="weui-cell__bd">
	  		        <input id="building_badress" disabled class="weui-input dis" type="text" value="{$info.add}">
	  		    </div>
	  		</div>
	  		<div class="weui-cell">
	  		    <div class="weui-cell__hd"><label class="weui-label">办公规模</label></div>
	  		    <div class="weui-cell__bd">
	  		        <input id="building_scale" disabled class="weui-input dis" type="text" value="{$info.guimo}">
	  		    </div>
				 <div class="weui-cell__ft">万平米</div>
	  		</div>
	  		<div class="weui-cell">
	  		    <div class="weui-cell__hd"><label class="weui-label">办公人数</label></div>
	  		    <div class="weui-cell__bd">
	  		        <input id="building_pnum" disabled class="weui-input dis" type="text" value="{$info.workernum}">
	  		    </div>
				 <div class="weui-cell__ft">千人</div>
	  		</div>
	  		<div class="weui-cell">
	  		    <div class="weui-cell__hd"><label class="weui-label">楼盘层数</label></div>
	  		    <div class="weui-cell__bd">
	  		        <input id="building_height" disabled class="weui-input dis" type="tel" value="{$info.cenggao}">
	  		    </div>
				 <div class="weui-cell__ft">
				     <div class="weui-vcode-btn">层</div>
				 </div>
	  		</div>
	  		<div class="weui-cell">
	  		    <div class="weui-cell__hd"><label class="weui-label">启用年代</label></div>
	  		    <div class="weui-cell__bd">
	  		        <input id="building_year" disabled class="weui-input dis" type="tel" minlength="4" maxlength="4" value="{$info.niandai}">
	  		    </div>
				 <div class="weui-cell__ft">
				     <div class="weui-vcode-btn">年</div>
				 </div>
	  		</div>
	  		<div class="weui-cell">
	  		    <div class="weui-cell__hd"><label class="weui-label">停车位</label></div>
	  		    <div class="weui-cell__bd">
	  		        <input id="building_upSpace" disabled class="weui-input dis" type="tel" value="{$info.park1}">
	  		    </div>
	  		</div>
		    <div class="weui-cell">
		        <div class="weui-cell__hd"><label class="weui-label">外景照</label></div>
		        <div class="weui-cell__bd">
		           
		        </div>
		    </div>
		    <div class="weui-uploader__bd" style="padding: 10px;">
		        <ul class="weui-uploader__files" id="uploaderFiles3" >
                    <if condition='$info.img1 neq null'>
                        <li class="weui-uploader__file" style="background-image:url(<?php echo 'http://'.$_SERVER['HTTP_HOST'].'/upload/loupan/'.$info['img1'];?>)" data-src='<?php echo 'http://'.$_SERVER['HTTP_HOST'].'/upload/loupan/'.$info['img1'];?>'></li>
                    <else/>
                        <li class="weui-uploader__file" style="background-image:url(__STATIC__/mobile/images/pic_160.png)"></li>
                    </if>
		         	
		          	
		        </ul>
	
	     	</div>
		    
		    
		    

		    
		    
		    <!-- <div class="weui-cell">
		        <div class="weui-cell__hd"><label class="weui-label">地下停车位</label></div>
		        <div class="weui-cell__bd">
		            <input id="building_bottomSpace" disabled class="weui-input dis" type="tel" value="{$info.park2}">
		        </div>
		    </div> -->
		    <div class="weui-cell">
		        <div class="weui-cell__hd"><label disabled class="weui-label">入驻企业</label></div>
		        <div class="weui-cell__bd">
		           
		        </div>
		    </div>
		    <div class="weui-uploader__bd" style="padding: 10px;">
		        <ul class="weui-uploader__files" id="uploaderFiles1" >
		         	<if condition='$info.img2 neq null'>
                        <li class="weui-uploader__file" style="background-image:url(<?php echo 'http://'.$_SERVER['HTTP_HOST'].'/upload/loupan/'.$info['img2'];?>)" data-src='<?php echo 'http://'.$_SERVER['HTTP_HOST'].'/upload/loupan/'.$info['img2'];?>'></li>
                    <else/>
                        <li class="weui-uploader__file" style="background-image:url(__STATIC__/mobile/images/pic_160.png)"></li>
                    </if>
		         	<if condition='$info.img22 neq null'>
                        <li class="weui-uploader__file" style="background-image:url(<?php echo 'http://'.$_SERVER['HTTP_HOST'].'/upload/loupan/'.$info['img22'];?>)" data-src='<?php echo 'http://'.$_SERVER['HTTP_HOST'].'/upload/loupan/'.$info['img22'];?>'></li>
                    <else/>
                        <li class="weui-uploader__file" style="background-image:url(__STATIC__/mobile/images/pic_160.png)"></li>
                    </if>
		        </ul>
	     	</div>

	  	</div>
	  	<div class="weui-cells">
	  		<div style="text-align: center;padding: 5px 0;background: #ffd966;color: #000;font-family: '黑体';">场地信息</div>
		    
		    <div class="weui-cell">
		        <div class="weui-cell__hd"><label class="weui-label" >大厅面积</label></div>
		        <div class="weui-cell__bd">
		            <input id="building_areaNum" class="weui-input dis" disabled type="text" value="<?php $arr2 = explode(',',$info['datingarea']);
                        foreach($arr2 as $k=>$val){
                            if($val == 1){
                                echo '50以下';
                            }
                            if($val == 2){
                                echo '50-99';
                            }
                            if($val == 3){
                                echo '100-199';
                            }
                            if($val == 4){
                                echo '200以上';
                            }
                        }
                    ?>
                    ">
		        </div>
				  <div class="weui-cell__ft">平方米</div>
		    </div>
		    <div class="weui-cell">
		        <div class="weui-cell__hd"><label class="weui-label" >场地面积</label></div>
		        <div class="weui-cell__bd">
		            <input id="building_adressNum" class="weui-input dis" disabled type="tel" value="<?php
$arr3 = explode(',',$info['changdiarea']);
                            foreach($arr3 as $k=>$val){
                                if($val == 1){
                                    echo '5以下';
                                }
                                if($val == 2){
                                    echo '5-9.9';
                                }
                                if($val == 3){
                                    echo '10-19.9';
                                }
                                if($val == 4){
                                    echo '20以上';
                                }
                            }
                        ?>
                    ">
		        </div>
		        <div class="weui-cell__ft">平方米</div>
		    </div>
		    <div class="weui-cell">
		        <div class="weui-cell__hd"><label class="weui-label" >大厅高度</label></div>
		        <div class="weui-cell__bd">
		            <input id="building_hallheight" class="weui-input dis" disabled type="tel" value="<?php
                            $arr3 = explode(',',$info['datingheight']);
                            foreach($arr3 as $k=>$val){
                                if($val == 1){
                                    echo '5以下';
                                }
                                if($val == 2){
                                    echo '5-10';
                                }
                                if($val == 3){
                                    echo '10以上';
                                }
                            }
                        ?>
                    ">
		        </div>
		        <div class="weui-cell__ft">米</div>
		    </div>
		    <div class="weui-cell">
		        <div class="weui-cell__hd"><label class="weui-label" disabled>有无空调</label></div>
		        <div class="weui-cell__bd">
		            <input id="building_iskongtiao" disabled class="weui-input dis" type="text" value="<?php echo $info['kongtiao']==1?'有':'无';?>">
		        </div>
		    </div>
		    <div class="weui-cell">
		        <div class="weui-cell__hd"><label class="weui-label" >是否主入口</label></div>
		        <div class="weui-cell__bd">
		            <input id="building_entrance" disabled class="weui-input dis" type="text" value="<?php echo $info['mainrukou']==1?'是':'否';?>">
		        </div>
		    </div>

		    <div class="weui-cell">
		        <div class="weui-cell__hd"><label class="weui-label" >电源</label></div>
		        <div class="weui-cell__bd">
		            <input id="building_powerPositon" disabled class="weui-input dis" type="text" value="<?php echo $info['dianyuan']==1?'有':'无';?>">
		        </div>
		    </div>
		    <div class="weui-cell">
		        <div class="weui-cell__hd"><label class="weui-label" >入口数量</label></div>
		        <div class="weui-cell__bd">
		            <input id="building_pnum" disabled class="weui-input dis" type="text" value="{$info.changdinum}">
		        </div>
		    </div>
		    <div class="weui-cell">
		        <div class="weui-cell__hd"><label class="weui-label" disabled>场地位置</label></div>
		        <div class="weui-cell__bd">
		           
		        </div>
		    </div>
		    <div class="weui-uploader__bd" style="padding: 10px;">
		        <ul class="weui-uploader__files" id="uploaderFiles2" >
                <if condition='$info.location neq null'>
                    <li class="weui-uploader__file" style="background-image:url(<?php echo 'http://'.$_SERVER['HTTP_HOST'].'/upload/loupan/'.$info['location'];?>)"></li>
                <else/>
                    <li class="weui-uploader__file" style="background-image:url(__STATIC__/mobile/images/pic_160.png)"></li>
                </if>
                <if condition='$info.location1 neq null'>
                    <li class="weui-uploader__file" style="background-image:url(<?php echo 'http://'.$_SERVER['HTTP_HOST'].'/upload/loupan/'.$info['location1'];?>)"></li>
                <else/>
                    <li class="weui-uploader__file" style="background-image:url(__STATIC__/mobile/images/pic_160.png)"></li>
                </if>
		        </ul>
		        
	     	</div>
		    <div class="weui-cell">
		        <div class="weui-cell__hd"><label class="weui-label">场地备注</label></div>
		        <div class="weui-cell__bd">
		            <textarea class="weui-textarea" disabled="disabled" rows="3">{$info.changdibeizhu}</textarea>
		        </div>
		    </div>
		    <div class="weui-cell">
		        <div class="weui-cell__hd"><label class="weui-label">活动备注</label></div>
		        <div class="weui-cell__bd">
		           	<textarea class="weui-textarea" disabled="disabled" rows="3">{$info.activitybeizhu}</textarea>
		        </div>
		    </div>
		    
	  	</div>
	  	<div class="weui-cells weui-cells_form">
	  		<div style="text-align: center;padding: 5px 0;background: #ffd966;color: #000;font-family: "黑体";">活动场地信息</div>
	  		<div class="weui-cell">
		        <div class="weui-cell__hd"><label disabled for="name" class="weui-label">人群类型</label></div>
		        <div class="weui-cell__bd">
		          <input class="weui-input dis" disabled id="building_peoplestyle" type="text" value="{$info.peopletype}">
		        </div>
		    </div>
		    <div class="weui-cell">
		        <div class="weui-cell__hd"><label  for="name" class="weui-label">楼宇媒体</label></div>
		        <div class="weui-cell__bd">
		          <input class="weui-input dis" disabled id="building_mediastyle" type="text" value="{$info.media}">
		        </div>
		    </div>
	  	</div>
	
            <div class="weui-btn-area">
              <a class="weui-btn weui-btn_primary" href="{:U('edit_floor')}?id={$info.id}" >修改</a>
            </div>
	  	
    </div>
<div class="weui-gallery" >
  <span class="weui-gallery__img" style="background-image: url(xxx);"></span>
  </div>
</div>   
	<div id="allmap1"></div>

    <!-- <script src="js/fastclick.js"></script> -->
    <script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
  
    <script src="__STATIC__/mobile/js/jquery-weui.js"></script>
    <script src="__STATIC__/mobile/js/city-picker.js"></script>
    <script src="__STATIC__/mobile/js/globalvariable.js"></script>
    <script src="__STATIC__/mobile/js/sose.js"></script>
<script type="text/javascript">
$(function(){
	var $gallery = $('.weui-gallery');
	var $galleryImg = $(".weui-gallery__img")

	$('.weui-uploader__file').on('click',function(){
	            $galleryImg.attr("style", this.getAttribute("style"));
	            $gallery.fadeIn(100);
	})

	$gallery.on("click", function(){
	    $gallery.fadeOut(100);
	});
})

</script>
  </body>
</html>
